package com.huilian.iotbox.data.dao;

import com.huilian.iotbox.data.dto.CommoditySupplierContactDto;
import com.huilian.iotbox.data.vo.CommoditySupplierContactVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommoditySupplierContactCommonDao {
    int add(CommoditySupplierContactDto commoditySupplierContactDto);

    int update(CommoditySupplierContactDto commoditySupplierContactDto);

    int delById(@Param("id") Integer id);

    List<CommoditySupplierContactVo> findBySupplierId(@Param("supplierId") Integer supplierId);
}
